<template>
	<view style="position: relative;">
		<image class="page-header-image" src="https://tanmyan.oss-cn-zhangjiakou.aliyuncs.com/web/image3.png" mode="aspectFill"></image>
		<view class="header-view">
			<view class="header-content-view1">
				<image class="head-image-view" src="https://tanmyan.oss-cn-zhangjiakou.aliyuncs.com/web/image3.png" mode="aspectFill"></image>
				<view class="merchant-name util-font-medium">橙满杯鲜果鲜茶</view>
				<button class="share-button" type="default" open-type="share">
					<image class="share-button-image" src="../../static/index/share.png" mode="aspectFit"></image>
				</button>
			</view>
			<view class="header-content-view2 util-font-regular">
				<image class="header-content-star-image" src="../../static/index/star.png" mode="aspectFit"></image>
				<view class="header-content-star-text">5分</view>
				<view class="header-content-line"></view>
				<view class="header-content-consume">人均￥129</view>
				<view class="header-content-line"></view>
				<view class="header-content-type">冷饮</view>
				<!-- <view class="mer-info-type2">附近美食</view> -->
			</view>
			<view class="header-content-view3 util-font-regular">
				<view class="merchant-time">营业时间：周一至周日 11:30-22:00</view>
				<image class="tuan-image" src="../../static/index/tuan.png" mode="aspectFit"></image>
			</view>
		</view>
		<view class="address-view">
			<view class="address-text-view util-font-regular">
				<view class="address-text">山东省济南市槐荫区经二路385附近山东省济南市槐荫区经二路385附近</view>
				<view class="address-distance">距离您99.6km</view>
			</view>
			<view class="mer-phone-view" @click="merPhone">
				<view class="mer-phone-content">
					<view class="mer-phone-title util-font-regular">预约电话</view>
					<image class="mer-phone-image" src="../../static/index/phone.png" mode="aspectFit"></image>
				</view>
			</view>
		</view>
		<view class="use-notice-view">
			<view class="use-notice-title util-font-medium">
				全部商品
			</view>
			<view class="product-info-view">
				<image class="product-info-image" :src="'https://tanmyan.oss-cn-zhangjiakou.aliyuncs.com/web/image3.png'" mode="aspectFill"></image>
				<view class="product-info-content">
					<view class="product-info-intro">
						<image class="product-info-intro-image" src="../../static/index/tuan.png" mode="aspectFit"></image>
						<text class="product-info-intro-text util-font-medium">0.99元一杯限时抢！门市价12元的【橙满杯鲜果鲜茶】满杯橙子！维C满满，超讨喜！</text>
					</view>
					<view class="product-info-price">
						<view class="product-info-price-text util-font-medium">￥10</view>
						<view class="product-info-price-original util-font-regular">￥6</view>
						<view class="product-info-price-brokerage">返佣2元</view>
						<view class="product-info-sell-number util-font-regular">已售300件</view>
					</view>
				</view>
			</view>
		</view>
		<view class="use-notice-view">
			<view class="use-notice-title util-font-medium">
				店铺介绍
			</view>
			<rich-text class="use-notice-rich-text" :nodes="html"></rich-text>
		</view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				html1: '',
				
			}
		},
		methods: {
			
		}
	}
</script>

<style>
	page {
		background-color: #F5f5f5;
	}
	.page-header-image {
		width: 100%;
		height: 320rpx;
		overflow: hidden;
		vertical-align: bottom;
	}
	.header-view {
		width: 710rpx;
		height: 230rpx;
		border-radius: 15rpx;
		background-color: white;
		position: absolute;
		top: 230rpx;
		margin: 0 20rpx;
		box-shadow: 2rpx 4rpx 20rpx #dddddd;
	}
	.header-content-view1 {
		position: absolute;
		/* margin: 30rpx; */
		width: 650rpx;
		height: 100rpx;
		margin: 0 30rpx;
	}
	.head-image-view {
		width: 130rpx;
		height: 130rpx;
		position: relative;
		top: -30rpx;
		border-radius: 15rpx;
		overflow: hidden;
		float: left;
	}
	.merchant-name {
		height: 100rpx;
		max-width: 420rpx;
		line-height: 100rpx;
		font-size: 40rpx;
		margin-left: 30rpx;
		float: left;
		white-space: nowrap;
		text-overflow: ellipsis;
		overflow: hidden;
		word-break: break-all;
	}
	.share-button {
		width: 40rpx;
		height: 40rpx;
		float: right;
		margin-top: 30upx;
	}
	.share-button-image {
		width: 40rpx;
		height: 40rpx;
		/* padding: 35rpx; */
		line-height:  40rpx;
		background-color: white;
	}
	
	button {
		border-radius: 0;
		padding-left: 0;
		padding-right: 0;
		line-height:  40rpx;
	}
	
	button.popUp-button-view-item {
		background-color: rgba(0, 0, 0, 0);
		line-height: 40upx;
		position: relative;
		margin: 0;
	}
	
	button::after {
		border: 0upx;
		width: 0;
		height: 0;
	}
	
	.header-content-view2 {
		width: 650rpx;
		height: 65rpx;
		line-height: 65rpx;
		font-size: 28rpx;
		color: #333333;
		margin: 100rpx 30rpx 0;
	}
	
	.header-content-star-image {
		width: 27upx;
		height: 27upx;
		float: left;
		margin-top: 17upx;
	}
	
	.header-content-star-text {
		float: left;
		color: #f1a441;
		font-size: 28rpx;
		margin-left: 5upx;
	}
	
	.header-content-consume {
		float: left;
	}
	
	.header-content-type {
		float: left;
	}
	
	.header-content-type2 {
		float: left;
	}
	.header-content-line {
		width: 2rpx;
		height: 25rpx;
		background-color: #f1f1f1;
		margin: 20rpx 15rpx;
		float: left;
	}
	
	.header-content-view3 {
		width: 650rpx;
		height: 36rpx;
		margin: 0 30rpx;
		font-size: 28rpx;
	}
	.merchant-time {
		float: left;
	}
	.tuan-image {
		width: 36rpx;
		height: 36rpx;
		float: right;
	}
	
	
	.address-view {
		width: 690rpx;
		height: 90rpx;
		padding: 180rpx 30rpx 30rpx;
		background-color: white;
		/* margin-top: 155rpx; */
	}
	.address-text-view {
		width: 540rpx;
		height: 90rpx;
		float: left;
	}
	.address-text {
		width: 540rpx;
		height: 40rpx;
		line-height: 40rpx;
		float: left;
		white-space: nowrap;
		text-overflow: ellipsis;
		overflow: hidden;
		word-break: break-all;
		font-size: 28rpx;
		color: #333333;
	}
	.address-distance {
		width: 540rpx;
		height: 40rpx;
		line-height: 40rpx;
		float: left;
		white-space: nowrap;
		text-overflow: ellipsis;
		overflow: hidden;
		word-break: break-all;
		font-size: 28rpx;
		color: #999999;
		margin-top: 10rpx;
	}
	.mer-phone-view {
		width: 120upx;
		height: 70upx;
		float: right;
		padding: 10upx 0;
	}
	
	.mer-phone-content {
		width: 118;
		height: 70upx;
		border-left: 2upx dashed #999999;
	}
	
	.mer-phone-title {
		color: #f1a441;
		font-size: 24upx;
		width: 55upx;
		height: 70upx;
		overflow: hidden;
		float: right;
		text-align: right;
	}
	
	.mer-phone-image {
		width: 50upx;
		height: 50upx;
		margin: 10upx 0;
		float: right;
	}
	
	.use-notice-view {
		margin-top: 20upx;
		border-top: 1upx solid #FFFFFF;
		background-color: #FFFFFF;
		padding: 30upx;
	}
	
	.use-notice-title {
		width: 690upx;
		font-size: 34upx;
		height: 35upx;
		line-height: 35upx;
		margin-bottom: 30upx;
		color: #333333;
	}
	.product-info-view {
		width: 690upx;
		height: 144upx;
		margin-top: 20upx;
		position: relative;
	}
	
	.product-info-image {
		width: 180upx;
		height: 144upx;
		border-radius: 10upx;
		float: left;
	}
	
	.product-info-content {
		width: 490upx;
		height: 144upx;
		float: right;
	}
	
	.product-info-intro {
		width: 100%;
		/* line-height: 40upx; */
		//两行
		text-overflow: -o-ellipsis-lastline;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		line-clamp: 2;
		-webkit-box-orient: vertical;
		
	}
	
	.product-info-intro-image {
		width: 36upx;
		height: 36upx;
		position: relative;
		top: 8upx;
	}
	
	.product-info-intro-text {
		width: 100%;
		font-size: 30upx;
		color: #333333;
		margin-left: 10upx;
		margin-top: 10upx;
	}
	
	.product-info-price {
		width: 100%;
		height: 45upx;
		margin-top: 8upx;
		float: left;
	}
	
	.product-info-price-text {
		height: 40upx;
		line-height: 40upx;
		margin-top: 4upx;
		color: #d8622c;
		font-size: 36upx;
		float: left;
	}
	
	.product-info-price-original {
		height: 42upx;
		line-height: 42upx;
		color: #bbbbbb;
		font-size: 20upx;
		text-decoration: line-through;
		float: left;
		position: relative;
		top: 6upx;
		left: 10upx;
	}
	
	.product-info-price-brokerage {
		padding: 3upx 6upx 3upx;
		background-color: #ec6e2d;
		float: left;
		border-radius: 5upx;
		color: #FFFFFF;
		font-size: 20upx;
		line-height: 26upx;
		margin-top: 10upx;
		margin-left: 20upx;
	}
	
	.product-info-sell-number {
		height: 45rpx;
		line-height: 45rpx;
		font-size: 22rpx;
		color: #999999;
		float: right;
		text-align: right;
	}	
	
	
</style>
